import random
k = random.randint(0, 10)

while True:
 a =eval( input('请输入猜'))
 if (a > k):
    print('你猜的太大了')
 elif (a > k):
    print('你猜的太小了')
 else:
    print('你猜对了')
    break